package com.yonyou.marketing.app.api.model;

import javax.persistence.*;

@Table(name = "TM_PUSH_BINDING")
public class TmPushBinding {
    @Id
    @Column(name = "DEVICE_ID")
    private String deviceId;

    @Id
    @Column(name = "USER_ID")
    private Integer userId;

    @Id
    @Column(name = "PHONE")
    private String phone;

    @Column(name = "BIND_STATUS")
    private Short bindStatus;

    /**
     * @return DEVICE_ID
     */
    public String getDeviceId() {
        return deviceId;
    }

    /**
     * @param deviceId
     */
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * @return USER_ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return PHONE
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return BIND_STATUS
     */
    public Short getBindStatus() {
        return bindStatus;
    }

    /**
     * @param bindStatus
     */
    public void setBindStatus(Short bindStatus) {
        this.bindStatus = bindStatus;
    }
}